package com.foreverwin.jzymes.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
import java.util.Date;

/**
 * 全检报警记录表 Z_TWO_HOUR_YIELD
 * 
 * @author ervin
 * @date 2019-06-11
 */
public class TwoHourYield
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private String handle;
	/** 站点 */
	private String site;
	/** 时间区间 */
	private String timeRange;
	/** 工序 */
	private String operation;
	/** 物料 */
	private String itemBo;
	/** 数量 */
	private Long qty;
	/** 开始日期 */
	private Date startDateTime;
	/** 结束日期 */
	private Date endDateTime;

	public void setHandle(String handle) 
	{
		this.handle = handle;
	}

	public String getHandle() 
	{
		return handle;
	}
	public void setSite(String site) 
	{
		this.site = site;
	}

	public String getSite() 
	{
		return site;
	}
	public void setTimeRange(String timeRange) 
	{
		this.timeRange = timeRange;
	}

	public String getTimeRange() 
	{
		return timeRange;
	}
	public void setOperation(String operation) 
	{
		this.operation = operation;
	}

	public String getOperation() 
	{
		return operation;
	}
	public void setItemBo(String itemBo) 
	{
		this.itemBo = itemBo;
	}

	public String getItemBo() 
	{
		return itemBo;
	}
	public void setQty(Long qty) 
	{
		this.qty = qty;
	}

	public Long getQty() 
	{
		return qty;
	}
	public void setStartDateTime(Date startDateTime) 
	{
		this.startDateTime = startDateTime;
	}

	public Date getStartDateTime() 
	{
		return startDateTime;
	}
	public void setEndDateTime(Date endDateTime) 
	{
		this.endDateTime = endDateTime;
	}

	public Date getEndDateTime() 
	{
		return endDateTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("handle", getHandle())
            .append("site", getSite())
            .append("timeRange", getTimeRange())
            .append("operation", getOperation())
            .append("itemBo", getItemBo())
            .append("qty", getQty())
            .append("startDateTime", getStartDateTime())
            .append("endDateTime", getEndDateTime())
            .toString();
    }
}
